package cn.dhnep.demo.service.impl;

import cn.dhnep.demo.mapper.DistributionMapper;
import cn.dhnep.demo.pojo.Picture;
import cn.dhnep.demo.pojo.User;
import cn.dhnep.demo.service.DistributionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author 邱文彬
 * @Date 2021/11/8 16:22
 * @Version 1.0
 */

@Service
public class distributionServiceImpl implements DistributionService {

    @Autowired
    private DistributionMapper distributionMapper;

    @Override
    public List<User> QueryuserOneDistribution(String openId) {
        List<User> users = distributionMapper.QueryuserOneDistribution(openId);

        return users;
    }
}
